package com.payment.entity.alast.stripe.autorenewal.subcription.directly.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @author lm
 * @date 2021/1/14 15:38
 */
@Data
public class SubscriptionDirectlyRequest implements Serializable {

    @ApiModelProperty(value = "付款邮箱", example = "", dataType = "String")
    private String email;

    @ApiModelProperty(value = "订单号", example = "", dataType = "String")
    private String order_id;

    @ApiModelProperty(value = "渠道编码。此字段不可传空字符串", example = "P000818", dataType = "String")
    private String partnerCode;

    @ApiModelProperty(value = "pm_id是在stripe的方法confirmSetupIntent返回结果里获取到的计划值", example = "", dataType = "String")
    private String pm_id;

    @ApiModelProperty(value = "收款邮箱", example = "", dataType = "String")
    private String receipt_email;

    @ApiModelProperty(value = "自动扣费计划", example = "", dataType = "Object")
    private SubscriptionDirectlyPlan plan;

    @ApiModelProperty(value = "自动扣费的产品", example = "", dataType = "Object")
    private SubscriptionDirectlyProduct product;

}
